package com.sjq.common.service;

import java.util.Map;

import com.sjq.common.entity.Dept;
import com.sjq.common.exception.ServiceException;
import com.sjq.common.util.PageResults;

public interface DeptService {
	//新增部门
	public void addDept(Dept dept);
	//删除部门
	public void removeDept(String deptId);
	//修改部门
	public void modifyDept(Dept dept);
	//查询部门详细
	public Map<String, Object> findDeptById(String deptId)throws ServiceException;
	// 分页查询
	public PageResults<?> findDeptByPage(int pageNo, int pageSize, Dept dept) throws ServiceException;
}
